package com.foreverwin.jzymes.framework.quartz.service;

import com.foreverwin.jzymes.framework.quartz.domain.SysJob;
import com.foreverwin.jzymes.framework.quartz.domain.SysJobParam;

import java.util.List;

public interface IScheduleAdviceService {

    /**
     * 创建任务
     *
     * @param job
     * @param jobParamList
     */
    public void createJob(SysJob job, List<SysJobParam> jobParamList );

    /**
     * 修改任务
     *
     * @param job
     * @param jobParamList
     */
    public void updateJob( SysJob job, List<SysJobParam> jobParamList );
}
